<div class="operationRecord">
	<div class="contentWrap">
		<div class="header">
			<img src="/assets/main/prescriptions/操作记录.png" alt="">
			<h2>操作记录</h2>
		</div>
		<div class="main">
			<table class="messageTable">
				<thead>
					<tr>
						<th>序号</th>
						<th>操作时间</th>
						<th>处方id</th>
						<th>操作人</th>
						<th>操作内容</th>
					</tr>
				</thead>
				<tbody>
					<tr *ngFor="let message of messages;let i = index">
						<td>{{message['ID']}}</td>
						<td>{{message['create_time']}}</td>
						<td>{{message['处方id']}}</td>
						<td>{{message['操作人']}}</td>
						<td>{{message['备注']}}</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div *ngIf="messages.length !== 0" class="pagination" (click)="goToPage($event)">
				<span class="cursor">首页</span>
				<span class="cursor">上一页</span>
				<span class="cursor">下一页</span>
				<span class="cursor">尾页</span>
				<span>页次:</span>
				<span>{{currentPage}}/{{pages}}</span>
				<span>共{{total}}条记录</span>
				<span>20条记录/页</span>
				<span>转到:</span>
				<span><input type="text" [(ngModel)]="targetPage"></span>
				<span> <button type="button">Goto</button></span>
			  </div>
		<div class="footer">
			上海市中医文献馆版权所有
		</div>

	</div>
</div>